[INFO] fetching crate rustic_hal 0.2.0...
[INFO] building rustic_hal-0.2.0 against master#ff34b919075f35a1787659e9c448a34b06bab8de for issue-85264
[INFO] extracting crate rustic_hal 0.2.0 into /workspace/builds/worker-13/source
[INFO] validating manifest of crates.io crate rustic_hal 0.2.0 on toolchain ff34b919075f35a1787659e9c448a34b06bab8de
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate rustic_hal 0.2.0
[INFO] finished tweaking crates.io crate rustic_hal 0.2.0
[INFO] tweaked toml for crates.io crate rustic_hal 0.2.0 written to /workspace/builds/worker-13/source/Cargo.toml
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 30ac04f6a01b93e677bb455377e7efbb66cca00c8d5ea71de76127c6c32a9b94
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "30ac04f6a01b93e677bb455377e7efbb66cca00c8d5ea71de76127c6c32a9b94", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "30ac04f6a01b93e677bb455377e7efbb66cca00c8d5ea71de76127c6c32a9b94", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "30ac04f6a01b93e677bb455377e7efbb66cca00c8d5ea71de76127c6c32a9b94", kill_on_drop: false }`
[INFO] [stdout] 30ac04f6a01b93e677bb455377e7efbb66cca00c8d5ea71de76127c6c32a9b94
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 273a8c4ab545ce80dab5862c9493c17fe71f4fd52e3d5a498a7f8e6c9d0bcb59
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "273a8c4ab545ce80dab5862c9493c17fe71f4fd52e3d5a498a7f8e6c9d0bcb59", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.27
[INFO] [stderr]    Compiling unicode-xid v0.2.2
[INFO] [stderr]    Compiling ryu v1.0.5
[INFO] [stderr]    Compiling serde_json v1.0.64
[INFO] [stderr]    Compiling serde_derive v1.0.126
[INFO] [stderr]    Compiling itoa v0.4.7
[INFO] [stderr]    Compiling rustic_hal v0.2.0 (/opt/rustwide/workdir)
[INFO] [stderr]    Compiling quote v1.0.9
[INFO] [stderr]    Compiling syn v1.0.72
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/resource.rs:219:21
[INFO] [stdout]     |
[INFO] [stdout] 219 |                 let mut lk = OneOrMany::new();
[INFO] [stdout]     |                     ----^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/resource.rs:230:21
[INFO] [stdout]     |
[INFO] [stdout] 230 |                 let mut content = entry.get_mut(); //&mut HalLinks
[INFO] [stdout]     |                     ----^^^^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/resource.rs:266:21
[INFO] [stdout]     |
[INFO] [stdout] 266 |                 let mut content = entry.get_mut(); //&mut HalLinks
[INFO] [stdout]     |                     ----^^^^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/resource.rs:284:21
[INFO] [stdout]     |
[INFO] [stdout] 284 |                 let mut content = entry.get_mut(); //&mut HalLinks
[INFO] [stdout]     |                     ----^^^^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 4 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 14.18s
[INFO] running `Command { std: "docker" "inspect" "273a8c4ab545ce80dab5862c9493c17fe71f4fd52e3d5a498a7f8e6c9d0bcb59", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "273a8c4ab545ce80dab5862c9493c17fe71f4fd52e3d5a498a7f8e6c9d0bcb59", kill_on_drop: false }`
[INFO] [stdout] 273a8c4ab545ce80dab5862c9493c17fe71f4fd52e3d5a498a7f8e6c9d0bcb59
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 82b8278724de90f826f388d0ee5457f2521e11b4c252b8a0158e35115bb3e1f1
[INFO] running `Command { std: "docker" "start" "-a" "82b8278724de90f826f388d0ee5457f2521e11b4c252b8a0158e35115bb3e1f1", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling crossbeam-utils v0.8.5
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling byteorder v1.4.3
[INFO] [stderr]    Compiling scopeguard v1.1.0
[INFO] [stderr]    Compiling rand_core v0.4.2
[INFO] [stderr]    Compiling either v1.6.1
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]    Compiling unicode-width v0.1.8
[INFO] [stderr]    Compiling same-file v1.0.6
[INFO] [stderr]    Compiling num_cpus v1.13.0
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling tinytemplate v1.2.1
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/resource.rs:219:21
[INFO] [stdout]     |
[INFO] [stdout] 219 |                 let mut lk = OneOrMany::new();
[INFO] [stdout]     |                     ----^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/resource.rs:230:21
[INFO] [stdout]     |
[INFO] [stdout] 230 |                 let mut content = entry.get_mut(); //&mut HalLinks
[INFO] [stdout]     |                     ----^^^^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/resource.rs:266:21
[INFO] [stdout]     |
[INFO] [stdout] 266 |                 let mut content = entry.get_mut(); //&mut HalLinks
[INFO] [stdout]     |                     ----^^^^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/resource.rs:284:21
[INFO] [stdout]     |
[INFO] [stdout] 284 |                 let mut content = entry.get_mut(); //&mut HalLinks
[INFO] [stdout]     |                     ----^^^^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 4 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling walkdir v2.3.2
[INFO] [stderr]    Compiling itertools v0.8.2
[INFO] [stderr]    Compiling rand_core v0.3.1
[INFO] [stderr]    Compiling rand_os v0.1.3
[INFO] [stderr]    Compiling textwrap v0.11.0
[INFO] [stderr]    Compiling regex-automata v0.1.9
[INFO] [stderr]    Compiling rand_xoshiro v0.1.0
[INFO] [stderr]    Compiling memoffset v0.6.4
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling rayon v1.5.1
[INFO] [stderr]    Compiling bstr v0.2.16
[INFO] [stderr]    Compiling clap v2.33.3
[INFO] [stderr]    Compiling crossbeam-channel v0.5.1
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.5
[INFO] [stderr]    Compiling criterion-plot v0.3.1
[INFO] [stderr]    Compiling crossbeam-deque v0.8.0
[INFO] [stderr]    Compiling csv v1.1.6
[INFO] [stderr]    Compiling rayon-core v1.9.1
[INFO] [stderr]    Compiling criterion v0.2.11
[INFO] [stderr]    Compiling rustic_hal v0.2.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `super::super::link::HalLink`
[INFO] [stdout]  --> src/tests/one_or_many.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use super::super::link::HalLink;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde::*`
[INFO] [stdout]  --> src/tests/one_or_many.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use serde::*;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `for<'d> T: Deserialize<'d>` is not satisfied
[INFO] [stdout]    --> src/tests/one_or_many.rs:10:5
[INFO] [stdout]     |
[INFO] [stdout] 10  |     oom: OneOrMany<T>
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^ the trait `for<'d> Deserialize<'d>` is not implemented for `T`
[INFO] [stdout]     |
[INFO] [stdout] note: required because of the requirements on the impl of `Deserialize<'_>` for `OneOrMany<T>`
[INFO] [stdout]    --> src/resource.rs:117:14
[INFO] [stdout]     |
[INFO] [stdout] 117 | impl<'de, T> Deserialize<'de> for OneOrMany<T>
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^     ^^^^^^^^^^^^
[INFO] [stdout]     = note: required by `next_element`
[INFO] [stdout] help: consider further restricting this bound
[INFO] [stdout]     |
[INFO] [stdout] 7   | #[derive(Serialize, Deserialize + for<'d> serde::Deserialize<'d>)]
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `for<'d> T: Deserialize<'d>` is not satisfied
[INFO] [stdout]    --> src/tests/one_or_many.rs:10:5
[INFO] [stdout]     |
[INFO] [stdout] 10  |     oom: OneOrMany<T>
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^ the trait `for<'d> Deserialize<'d>` is not implemented for `T`
[INFO] [stdout]     |
[INFO] [stdout] note: required because of the requirements on the impl of `Deserialize<'_>` for `OneOrMany<T>`
[INFO] [stdout]    --> src/resource.rs:117:14
[INFO] [stdout]     |
[INFO] [stdout] 117 | impl<'de, T> Deserialize<'de> for OneOrMany<T>
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^     ^^^^^^^^^^^^
[INFO] [stdout]     = note: required by `next_value`
[INFO] [stdout] help: consider further restricting this bound
[INFO] [stdout]     |
[INFO] [stdout] 7   | #[derive(Serialize, Deserialize + for<'d> serde::Deserialize<'d>)]
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0608]: cannot index into a value of type `OneOrMany<std::string::String>`
[INFO] [stdout]   --> src/tests/one_or_many.rs:32:24
[INFO] [stdout]    |
[INFO] [stdout] 32 |     assert_eq!("test", boh.oom[0]);
[INFO] [stdout]    |                        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0608]: cannot index into a value of type `OneOrMany<std::string::String>`
[INFO] [stdout]   --> src/tests/one_or_many.rs:33:25
[INFO] [stdout]    |
[INFO] [stdout] 33 |     assert_eq!("test2", boh.oom[1]);
[INFO] [stdout]    |                         ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors; 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0608.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rustic_hal`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `Command { std: "docker" "inspect" "82b8278724de90f826f388d0ee5457f2521e11b4c252b8a0158e35115bb3e1f1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "82b8278724de90f826f388d0ee5457f2521e11b4c252b8a0158e35115bb3e1f1", kill_on_drop: false }`
[INFO] [stdout] 82b8278724de90f826f388d0ee5457f2521e11b4c252b8a0158e35115bb3e1f1
